package com.shellyan.realtime.gmallpublisher.bean;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author Shelly An
 * @create 2020/9/12 14:15
 */
public class SaleInfo {
    private Long total;
    private List<Stat> stats = new ArrayList<>();
    private List<Map> detail;

    public SaleInfo() {
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<Stat> getStat() {
        return stats;
    }

//    public void setStat(List<Stat> stat) {
//        this.stat = stat;
//    }

    public void addStat(Stat stat) {
        stats.add(stat);
    }

    public List<Map> getDetail() {
        return detail;
    }

    public void setDetails(List<Map> detail) {
        this.detail = detail;
    }
}
